<template>
  <Tutorial />
</template>

<script lang="ts">
import Vue from 'vue'
import { Context } from "@nuxt/types"

export default Vue.extend({
  name: 'IndexPage',
  asyncData(context: Context) {
    const { $api } = context

    console.log("接口访问", $api.getUserInfo)
  }
})
</script>
